Search
LayoutBuilder.createAndAddPlotAndAxes Method
See Also
 






Creates a GridPanel containing the specified plot and axis renderers.The panel is automatically added to the dashboard's LayoutPanel.

Namespace: MindFusion.Charting.Controls
File: LayoutBuilder.js

 Syntax

JavaScript  Copy Code

function createAndAddPlotAndAxes (plot, top, left, bottom, right)

 Parameters

plot

A Plot2D instance.

top

An array of XAxisRenderer components that should be placed at top side of the plot.

left

An array of YAxisRenderer components that should be placed at left side of the plot.

bottom

An array of XAxisRenderer components that should be placed at bottom side of the plot.

right

An array of YAxisRenderer components that should be placed at right side of the plot.

 Return Value

A GridPanel instance.

 See Also